<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}订餐系统{% endblock %}</title>
    <link href="/static/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="/static/jquery-3.5.1.min.js"></script>
    <script src="/static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
</head>
<body>
    {#    顶部导航#}
    <header>
        <nav class="navbar navbar-default">
          <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
              <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              <a class="navbar-brand" href="{{url_for("hello_world")}}">订餐系统</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
              <ul class="nav navbar-nav">
                <li><a href="{{url_for('dish_type.index')}}">菜品管理 <span class="sr-only">(current)</span></a></li>
                <li><a href="{{url_for('dish.index')}}">菜管理</a></li>
                <LI><a href="{{url_for('order.index')}}">订单管理</a></LI>
                <li><a href="{{url_for("desk.index")}}">桌子管理</a> </li>
              </ul>

            </div><!-- /.navbar-collapse -->
          </div><!-- /.container-fluid -->
        </nav>
    </header>
    <div class="row">
            <div class="col-md-2 col-md-offset-1">
                {% block aside %}
                {% endblock %}
            </div>
            <div class="col-md-8">
                {% block content %}

                {% endblock %}
            </div>
    </div>


</body>
</html>